package com.enjoyiot.module.system.controller.admin.shipin.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.enjoyiot.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.enjoyiot.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 视频监控分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SHPPageReqVO extends PageParam {

    @Schema(description = "视频监控地址")
    private String spAddress;

    @Schema(description = "视频地址编号")
    private String spNumber;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}